<!DOCTYPE html>
<html>


<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp"/>

	<title>主页</title>

	<meta name="keywords" content="">
	<meta name="description" content="">

	<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
	<![endif]-->

	<link rel="icon" type="image/x-icon" href="${ctx}/favicon.ico">
	<link href="${ctx}/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
	<link href="${ctx}/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
	<link href="${ctx}/css/animate.min.css" rel="stylesheet">
	<link href="${ctx}/css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
	<!--左侧导航开始-->
	<nav class="navbar-default navbar-static-side" role="navigation">
		<div class="nav-close"><i class="fa fa-times-circle"></i>
		</div>
		<div class="sidebar-collapse">
			<ul class="nav" id="side-menu">
				<li class="nav-header">
					<div class="dropdown profile-element">
						<span><img alt="image" class="img-circle" src="${ctx}/img/avatar.png"/></span>
						<a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">${user.realName}</strong></span>
                                <span class="text-muted text-xs block">${user.role.title}<b class="caret"></b></span>
                                </span>
						</a>
						<ul class="dropdown-menu animated fadeInRight m-t-xs">
							</li>
							<li><a onclick="change_password()">修改密码</a>
							</li>
							<li class="divider"></li>
							<li><a href="${ctx}/logOut">安全退出</a>
							</li>
						</ul>
					</div>
					<div class="logo-element"><img src="img/Icon-32.png">
					</div>
				</li>
				<li>
					<a href="#">
						<i class="fa fa-database"></i>
						<span class="nav-label">试题管理</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">
						<li>
							<a class="J_menuItem" href="${ctx}/exam/examAdd/page">自主命题</a>
						</li>
						<li>
							<a class="J_menuItem" href="${ctx}/exam/examImport/page">试题导入</a>
						</li>

						<li>
							<a class="J_menuItem" href="${ctx}/exam/examManage/page">试题管理</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="#">
						<i class="fa fa-file-text-o"></i>
						<span class="nav-label">试卷管理</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">
						<li>
							<a class="J_menuItem" href="${ctx}/strategy/index">组卷策略</a>
						</li>
						<li>
							<a class="J_menuItem" href="${ctx}/person/index">试卷组卷</a>
						</li>
						<li>
							<a class="J_menuItem" href="${ctx}/paper/index">试卷列表</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="#">
						<i class="fa fa-user"></i>
						<span class="nav-label">用户管理</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">
						<li>
							<a class="J_menuItem" href="${ctx}/role/roleListPage">角色管理</a>
						</li>
						<li>
							<a class="J_menuItem" href="${ctx}/user/userListPage">用户列表</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="#">
						<i class="fa fa-info-circle"></i>
						<span class="nav-label">日志管理</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">
						<li>
							<a class="J_menuItem" href="${ctx}/logger/page">日志管理</a>
						</li>
					</ul>

				</li>
				<li>
					<a href="#">
						<i class="fa fa-gears"></i>
						<span class="nav-label">系统管理</span>
						<span class="fa arrow"></span>
					</a>
					<ul class="nav nav-second-level">
						<li>
							<a class="J_menuItem" href="${ctx}/system/systemParam">系统参数</a>
						</li>
						<@shiro.hasRole name="admin">
                        <li>
							<a class="J_menuItem" href="${ctx}/druid/index.html">性能监控</a>
						</li>
                        </@shiro.hasRole>
					</ul>

				</li>

			</ul>
		</div>
	</nav>
	<!--左侧导航结束-->
	<!--右侧部分开始-->
	<div id="page-wrapper" class="gray-bg dashbard-1">
		<div class="row content-tabs">
			<a class="roll-nav roll-left J_tabLeft navbar-minimalize"><i class="fa fa-bars"></i>
			</a>

			<nav class="page-tabs J_menuTabs">
				<div class="page-tabs-content">
					<a href="javascript:;" class="active J_menuTab" data-id="${ctx}/welcome">首页</a>
				</div>
			</nav>
			<button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
			</button>
			<div class="btn-group roll-nav roll-right">
				<button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

				</button>
				<ul role="menu" class="dropdown-menu dropdown-menu-right">
					<li class="J_tabShowActive"><a>定位当前选项卡</a>
					</li>
					<li class="divider"></li>
					<li class="J_tabCloseAll"><a>关闭全部选项卡</a>
					</li>
					<li class="J_tabCloseOther"><a>关闭其他选项卡</a>
					</li>
				</ul>
			</div>
			<a href="${ctx}/logOut" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i>
				退出</a>
		</div>
		<div class="row J_mainContent" id="content-main">
			<iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="${ctx}/welcome"
			        frameborder="0" data-id="${ctx}/welcome" seamless></iframe>
		</div>
		<div class="footer">
			<div class="pull-right">版权所有 Copyright © 2018 XJTUSE Corporation, All Rights.
			</div>
		</div>
	</div>
</div>
<script src="${ctx}/js/jquery.min.js?v=2.1.4"></script>
<script src="${ctx}/js/bootstrap.min.js?v=3.3.6"></script>
<script src="${ctx}/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="${ctx}/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="${ctx}/js/plugins/layer/layer.js"></script>
<script src="${ctx}/js/hplus.min.js?v=4.1.2"></script>
<script src="${ctx}/js/contabs.min.js"></script>
<script src="${ctx}/js/plugins/pace/pace.min.js"></script>
<script>
	/*管理员-增加*/
	function change_password() {
		layer.open({
			title: '修改密码',
			type: 2,
			area: ['450px', '420px'],
			shadeClose: true, //点击遮罩关闭
			content: '${ctx}/user/changePasswordPage'
		});
	}
</script>
</body>


</html>
